// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import store from './store'

// 全局mixins，用于实现setData等功能';
import Mixin from '@/subpkg/tim/polyfill/mixins.js';
Vue.mixin(Mixin);

Vue.prototype.$store = store

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
	...App
})

app.$mount()

// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
